// cLDAPResolver.h: interface for the cLDAPResolver class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CLDAPRESOLVER_H__DA214695_A8EA_445D_A4C4_3B7DF3AA7586__INCLUDED_)
#define AFX_CLDAPRESOLVER_H__DA214695_A8EA_445D_A4C4_3B7DF3AA7586__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <Winldap.h>

class cLDAPResolver  
{
public:
	CString ResolveUser(LPCSTR strUserEmail);
	cLDAPResolver(LPCSTR pPath);
	virtual ~cLDAPResolver();

private:
	BOOL m_bInit;
	void Init();
	CString m_strLDAPPath;
	LDAP* pSes;
	LDAPControl* pControl;


};

#endif // !defined(AFX_CLDAPRESOLVER_H__DA214695_A8EA_445D_A4C4_3B7DF3AA7586__INCLUDED_)
